# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <ablocorrea@hotmail.com>
pkgname=gnome-user-docs
pkgver=45.1
pkgrel=0
pkgdesc="GNOME User Documentation"
url="https://gitlab.gnome.org/GNOME/gnome-user-docs"
arch="noarch"
license="CC-BY-3.0"
makedepends="itstool libxml2-utils gettext-dev"
options="!check" # no tests
source="https://download.gnome.org/sources/gnome-user-docs/${pkgver%.*}/gnome-user-docs-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
2d87b4a58a780eee90ac1b13810a0e9a36b7e4308802117df918c9c43c1014f1067d9a524ba904d679e337d2127e1f8e92ff472e52a3b13fd64c5e52cfdd006a  gnome-user-docs-45.1.tar.xz
"
